package com.qf.blog.service;

import com.qf.blog.core.service.IBaseService;
import com.qf.blog.entity.UserEntity;

import java.util.concurrent.ExecutionException;

public interface IUserService extends IBaseService<UserEntity> {
    void register(UserEntity userEntity) throws Exception;

    UserEntity byActivationCode(String activationCode) throws Exception;

    UserEntity login(String username,String password)  throws Exception;

    void updateHeaderUrl(Integer id, String filePath) throws Exception;
}
